github.com/gotd/td/mtproto.Conn.log (field)
61 uses
github.com/gotd/td/mtproto (current package)
ack.go#L13: logger := c.log.Named("ack")
ack.go#L32: c.log.Error(ctx, "Failed to ACK", log.Error(err), log.Any("msg_ids", buf))
bind.go#L125: c.log.Debug(ctx, "Binding temporary auth key",
bind.go#L154: c.log.Info(ctx, "Temporary auth key bound",
bind.go#L187: c.log.Warn(ctx, "auth.bindTempAuthKey returned ENCRYPTED_MESSAGE_INVALID after retries, reconnecting without dropping the permanent key",
bind.go#L193: c.log.Warn(ctx, "auth.bindTempAuthKey returned ENCRYPTED_MESSAGE_INVALID, retrying bind",
bind.go#L206: c.log.Warn(ctx, "Permanent key check failed, reconnecting without dropping the key", log.Error(err))
bind.go#L213: c.log.Warn(ctx, "auth.bindTempAuthKey returned ENCRYPTED_MESSAGE_INVALID, permanent key is valid, retrying bind",
bind.go#L218: c.log.Warn(ctx, "Server does not know the permanent key, dropping PFS keys",
bind.go#L243: Logger: c.log.Named("perm_key_check").Logger(),
bind.go#L274: c.log.Warn(context.Background(), "auth.bindTempAuthKey returned CONNECTION_NOT_INITED, retrying bind",
bind.go#L280: c.log.Warn(context.Background(), "auth.bindTempAuthKey returned CONNECTION_NOT_INITED after retries, reconnecting without dropping keys",
conn.go#L67: log log.Helper
conn.go#L162: log: log.For(opt.Logger),
conn.go#L226: c.log.Debug(ctx, "Closing")
conn.go#L232: c.log.Debug(ctx, "Failed to cleanup connection", log.Error(err))
conn.go#L255: c.log.Debug(ctx, "Run: start")
conn.go#L256: defer c.log.Debug(ctx, "Run: end")
conn.go#L271: g := tdsync.NewLogGroup(ctx, c.log.Named("group").Logger())
connect.go#L56: c.log.Info(ctx, "Generating new auth key")
connect.go#L62: c.log.Info(ctx, "Auth key generated",
connect.go#L68: c.log.Info(ctx, "Key already exists")
connect.go#L76: c.log.Debug(ctx, "Generating new session id")
connect.go#L87: c.log.Info(ctx, "Generating new permanent auth key")
connect.go#L92: c.log.Info(ctx, "Permanent auth key generated",
connect.go#L97: c.log.Info(ctx, "Permanent key already exists")
connect.go#L100: c.log.Info(ctx, "Generating new temporary auth key")
connect.go#L105: c.log.Info(ctx, "Temporary auth key generated",
connect.go#L119: WithLogger(c.log.Named("exchange").Logger()).
connect.go#L130: if !c.log.Enabled(ctx, log.LevelDebug) {
connect.go#L140: c.log.Debug(ctx, "Initializing new key exchange", attrs...)
handle_ack.go#L19: c.log.Debug(context.Background(), "Received ack", log.Any("msg_ids", ack.MsgIDs))
handle_bad_msg.go#L69: c.log.Warn(context.Background(), "msg_id too high, starting a new session",
handle_container.go#L42: c.log.Debug(ctx, "Ignoring duplicate message in container", log.Int64("msg_id", msg.ID))
handle_future_salts.go#L24: c.log.Debug(context.Background(), "Got future salts", log.Time("server_time", serverTime))
handle_result.go#L57: c.log.Debug(ctx, "Got error", msgID,
handle_result.go#L66: c.log.Warn(ctx, "Temporary key binding lost (AUTH_KEY_PERM_EMPTY), reconnecting", msgID)
handle_session_created.go#L24: c.log.Debug(ctx, "Session created",
handle_session_created.go#L31: c.log.Warn(ctx, "Local clock needs synchronization",
new_encrypted_msg.go#L23: logger = c.log
pfs.go#L50: c.log.Info(ctx, "Temporary auth key renewal required, reconnecting",
ping.go#L46: c.log.Debug(context.Background(), "Pong")
ping.go#L129: logger := c.log.Named("ping")
read.go#L72: c.log.Debug(context.Background(), "Server time offset updated",
read.go#L118: c.log.Warn(ctx, "Ignoring rejected message", log.Error(err))
read.go#L128: c.log.Warn(ctx, "Error while handling message", log.Error(err))
read.go#L161: c.log.Warn(ctx, "Slow ack enqueue (ack loop may be stalled)",
read.go#L175: c.log.Debug(context.Background(), "No updates")
read.go#L188: c.log.Warn(ctx, "BUG: zero session id found")
read.go#L199: c.log.Warn(ctx, "Re-generating keys (server not found key that we provided), "+
read.go#L204: c.log.Info(ctx, "Re-created auth keys")
read.go#L214: logger := c.log.Named("read")
rpc.go#L25: c.log.Info(ctx, "Resending request in new session")
rpc.go#L40: c.log.Info(ctx, "Resending request with corrected msg_id",
rpc.go#L88: logger := c.log.With(
rpc.go#L108: c.log.Debug(ctx, "Setting server salt")
rpc.go#L113: c.log.Info(ctx, "Retrying request after basMsgErr", log.Int64("msg_id", req.MsgID))
salt.go#L21: c.log.Info(context.Background(), "Salt updated", log.Int64("old", oldSalt), log.Int64("new", salt))
session.go#L73: c.log.Debug(ctx, "Continuing session", log.Int32("content_messages", n))
zap.go#L33: return c.log
zap.go#L40: return c.log.With(logType{
 |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |